home *** CD-ROM | disk | FTP | other *** search
- /* */
- /* This REXX exec can be used to compile the aping program. */
- /* This file should be renamed to MAKE EXEC and then executed. */
-
- 'SET LDRTBLS 8'
- 'GLOBAL TXTLIB EDCBASE CMSSAA IBMLIB CMSLIB'
- 'GLOBAL MACLIB EDCLIB'
- 'GLOBAL LOADLIB EQALIB EDCLINK'
- SAY 'Compiling aping'
- 'CC aping (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- SAY 'Compiling apingd'
- 'EXEC CC apingd (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- SAY 'Compiling cpicinit'
- 'EXEC CC cpicinit (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- SAY 'Compiling cpicerr'
- 'EXEC CC cpicerr (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- SAY 'Compiling cpicport'
- 'EXEC CC cpicport (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- SAY 'Compiling getopt'
- 'EXEC CC getopt (DEFINE(VM)'
- if (RC <> 0) then exit(RC)
- 'EXEC CMOD aping cpicerr cpicinit cpicport getopt'
- if (RC <> 0) then exit(RC)
- 'EXEC CMOD apingd cpicerr cpicinit cpicport getopt'
- if (RC <> 0) then exit(RC)
- say 'Compilation of aping and apingd successful.'
- exit(0)
-
- /* If you have access to a MAKE aping for VM, you can extract out */
- /* the following and use it as a makefile. (after removing comments) */
-
- /* START MAKEFILE
-
-
- C_OPTIONS = (DEFINE(VM)
-
- LINK_OPTIONS =
-
-
- aping: set_environment aping.module apingd.module
-
- set_environment:
- SET LDRTBLS 8
- GLOBAL TXTLIB EDCBASE CMSSAA IBMLIB CMSLIB
- GLOBAL MACLIB EDCLIB
- GLOBAL LOADLIB EQALIB EDCLINK
-
- aping.module: aping.vm aping.text cpicerr.text cpicinit.text cpicport.text getopt.text
- CMOD $* cpicerr cpicinit cpicport getopt $(LINK_OPTIONS)
-
- aping.text: aping.vm aping.C cpicerr.h cpicinit.h cpicport.h getopt.h
- $(CC) $* $(C_OPTIONS)
-
- apingd.module: aping.vm apingd.text cpicerr.text cpicinit.text cpicport.text getopt.text
- CMOD $* cpicerr cpicinit cpicport getopt $(LINK_OPTIONS)
-
- apingd.text: aping.vm apingd.C cpicerr.h cpicinit.h cpicport.h getopt.h
- $(CC) $* $(C_OPTIONS)
-
- cpicerr.text: aping.vm cpicerr.C cpicerr.h
- $(CC) $* $(C_OPTIONS)
-
- cpicinit.text: aping.vm cpicinit.C cpicinit.h
- $(CC) $* $(C_OPTIONS)
-
- cpicport.text: aping.vm cpicport.C cpicport.h
- $(CC) $* $(C_OPTIONS)
-
- getopt.text: aping.vm getopt.C getopt.h
- $(CC) $* $(C_OPTIONS)
-
-
- END MAKEFILE */
-